<?php

namespace app\api\controller;

use app\common\controller\Api;


class System extends Api
{

    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';
    protected $layout = '';

    public function _initialize()
    {
        parent::_initialize();
    }


    // 文章
    public function getModel(){
        $id = input('m',14);

        $ret = model('category')->get($id);

        if ($ret){
            $this->success('成功', $ret, '1000');
        }



    }
}
